/********************************************************************
  Copyright by PCI, 2002-10-08
  File Name: db_ppm_product_provider.cxx
  Created Date: 2002-10-08 
  Author: Machine
  Version: 1.0 
  Last Version Date: 
  Version Date:
*******************************************************************/
/********************************************************************
  Copyright by PCI, 2002-10-08
  Class Name: CTable_PPM_PRODUCT_PROVIDER
  Created Date: 2002-10-08 
  Author: Machine
  Defined File: db_ppm_product_provider.hxx
  Last Version Date: 
  Version Date:
*******************************************************************/
#include "table_ppm.h"

CTable_PPM_PRODUCT_PROVIDER::CTable_PPM_PRODUCT_PROVIDER( )
 :NPCRecordSet( )
{
  setTableName( "PPM_PRODUCT_PROVIDER" );
  prepareTable();
  prepareQuery();
 
  PRODUCT_PROVIDER_ID.setField( "PRODUCT_PROVIDER_ID", DATA_DOUBLE, 22, 1 );
  makeTableItem( PRODUCT_PROVIDER_ID );
  makeKeyItem( PRODUCT_PROVIDER_ID ); 
  PRODUCT_PROVIDER_NAME.setField( "PRODUCT_PROVIDER_NAME", DATA_CHAR, 64, 0 );
  makeTableItem( PRODUCT_PROVIDER_NAME );
  PRODUCT_PROVIDER_DESC.setField( "PRODUCT_PROVIDER_DESC", DATA_CHAR, 256, 0 );
  makeTableItem( PRODUCT_PROVIDER_DESC );
}


CTable_PPM_PRODUCT_PROVIDER::CTable_PPM_PRODUCT_PROVIDER( NPConnection& pcldb )
 :NPCRecordSet( pcldb )
{
  setTableName( "PPM_PRODUCT_PROVIDER" );
  prepareTable();
  prepareQuery();
 
  PRODUCT_PROVIDER_ID.setField( "PRODUCT_PROVIDER_ID", DATA_DOUBLE, 22, 1 );
  makeTableItem( PRODUCT_PROVIDER_ID );
  makeKeyItem( PRODUCT_PROVIDER_ID ); 
  PRODUCT_PROVIDER_NAME.setField( "PRODUCT_PROVIDER_NAME", DATA_CHAR, 64, 0 );
  makeTableItem( PRODUCT_PROVIDER_NAME );
  PRODUCT_PROVIDER_DESC.setField( "PRODUCT_PROVIDER_DESC", DATA_CHAR, 256, 0 );
  makeTableItem( PRODUCT_PROVIDER_DESC );
}

CTable_PPM_PRODUCT_PROVIDER::~CTable_PPM_PRODUCT_PROVIDER( )
{
    close();
}

